package com.kpmg.datalake.db.model;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 项目基础信息
 * </p>
 *
 * @author azhao6
 * @since 2018-08-17
 */
public class Project implements Serializable {

  private static final long serialVersionUID = 5113767197997540899L;
  /**
   * 项目ID
   */
  @TableId(type = IdType.UUID)
  private String prjId;
  /**
   * 被审计公司ID
   */
  private String entId;
  /**
   * 备注
   */
  private String memo;
  /**
   * 是否删除
   */
  private Integer delInd;
  /**
   * 创建用户
   */
  private String crtUsrId;
  /**
   * 创建日期
   */
  private Date crtDt;
  /**
   * 更新人
   */
  private String udtUsrId;
  /**
   * 更新时间
   */
  private Date udtDt;
  /**
   * 项目编码
   */
  private String prjCode;
  /**
   * 项目名称
   */
  private String prjName;
  /**
   * 项目别名
   */
  private String prjAli;
  /**
   * ITS_CODE
   */
  private String itsCode;
  /**
   * Manager
   */
  private String prjManager;
  /**
   * Data_Owner
   */
  private String prjDataOwner;
  /**
   * DELE_GATOR
   */
  private String prjDeleGator;
  /**
   * 项目来源
   */
  private String prjSource;
  /**
   * 同步状态
   */
  private String syncStatus;
  /**
   * 同步时间
   */
  private Date syncTime;
  /**
   * ip
   */
  private String sftpIp;
  /**
   * 端口
   */
  private Integer sftpPort;
  /**
   * 用户名
   */
  private String sftpUser;
  /**
   * 密码
   */
  private String sftpPwd;
  /**
   * 路径
   */
  private String sftpPath;

  /**
   * 实体基本信息
   */
  @TableField(exist = false)
  private EntBscinf entityBasic;


  /**
   * 数据库权限
   */
  @TableField(exist = false)
  private DbPrmsn database;

  /**
   * 行业基本信息
   */
  @TableField(exist = false)
  private Industry industry;

  public String getPrjId() {
    return prjId;
  }

  public void setPrjId(String prjId) {
    this.prjId = prjId;
  }

  public String getEntId() {
    return entId;
  }

  public void setEntId(String entId) {
    this.entId = entId;
  }

  public String getMemo() {
    return memo;
  }

  public void setMemo(String memo) {
    this.memo = memo;
  }

  public Integer getDelInd() {
    return delInd;
  }

  public void setDelInd(Integer delInd) {
    this.delInd = delInd;
  }

  public String getCrtUsrId() {
    return crtUsrId;
  }

  public void setCrtUsrId(String crtUsrId) {
    this.crtUsrId = crtUsrId;
  }

  public Date getCrtDt() {
    return crtDt;
  }

  public void setCrtDt(Date crtDt) {
    this.crtDt = crtDt;
  }

  public String getUdtUsrId() {
    return udtUsrId;
  }

  public void setUdtUsrId(String udtUsrId) {
    this.udtUsrId = udtUsrId;
  }

  public Date getUdtDt() {
    return udtDt;
  }

  public void setUdtDt(Date udtDt) {
    this.udtDt = udtDt;
  }

  public String getPrjCode() {
    return prjCode;
  }

  public void setPrjCode(String prjCode) {
    this.prjCode = prjCode;
  }

  public String getPrjName() {
    return prjName;
  }

  public void setPrjName(String prjName) {
    this.prjName = prjName;
  }

  public String getPrjAli() {
    return prjAli;
  }

  public void setPrjAli(String prjAli) {
    this.prjAli = prjAli;
  }

  public String getItsCode() {
    return itsCode;
  }

  public void setItsCode(String itsCode) {
    this.itsCode = itsCode;
  }

  public String getPrjManager() {
    return prjManager;
  }

  public void setPrjManager(String prjManager) {
    this.prjManager = prjManager;
  }

  public String getPrjDataOwner() {
    return prjDataOwner;
  }

  public void setPrjDataOwner(String prjDataOwner) {
    this.prjDataOwner = prjDataOwner;
  }

  public String getPrjDeleGator() {
    return prjDeleGator;
  }

  public void setPrjDeleGator(String prjDeleGator) {
    this.prjDeleGator = prjDeleGator;
  }

  public String getPrjSource() {
    return prjSource;
  }

  public void setPrjSource(String prjSource) {
    this.prjSource = prjSource;
  }

  public String getSyncStatus() {
    return syncStatus;
  }

  public void setSyncStatus(String syncStatus) {
    this.syncStatus = syncStatus;
  }

  public Date getSyncTime() {
    return syncTime;
  }

  public void setSyncTime(Date syncTime) {
    this.syncTime = syncTime;
  }

  public String getSftpIp() {
    return sftpIp;
  }

  public void setSftpIp(String sftpIp) {
    this.sftpIp = sftpIp;
  }

  public Integer getSftpPort() {
    return sftpPort;
  }

  public void setSftpPort(Integer sftpPort) {
    this.sftpPort = sftpPort;
  }

  public String getSftpUser() {
    return sftpUser;
  }

  public void setSftpUser(String sftpUser) {
    this.sftpUser = sftpUser;
  }

  public String getSftpPwd() {
    return sftpPwd;
  }

  public void setSftpPwd(String sftpPwd) {
    this.sftpPwd = sftpPwd;
  }

  public String getSftpPath() {
    return sftpPath;
  }

  public void setSftpPath(String sftpPath) {
    this.sftpPath = sftpPath;
  }

  public EntBscinf getEntityBasic() {
    return entityBasic;
  }

  public void setEntityBasic(EntBscinf entityBasic) {
    this.entityBasic = entityBasic;
  }

  public DbPrmsn getDatabase() {
    return database;
  }

  public void setDatabase(DbPrmsn database) {
    this.database = database;
  }

  public Industry getIndustry() {
    return industry;
  }

  public void setIndustry(Industry industry) {
    this.industry = industry;
  }

  @Override
  public String toString() {
    return getClass().getName() + JSONObject.toJSONString(this) ;
	}
}
